package com.syzg.base.merge.model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;


public class Staff implements Serializable{

	private static final long serialVersionUID = 1L;
	public static Short STATUS_VALID = Short.valueOf((short)1);
    public static Short STATUS_INVALID = Short.valueOf((short)0);
    public static Short STATUS_DISABLED = Short.valueOf((short)-1);
    private Long id;
    private Organization organization;
    private Person person;
    private Integer orderNo;
    private Short status;
    private Set<StaffPosition> staffPositions;
    
	public Staff(){
        staffPositions = new HashSet<StaffPosition>(0);
    }

    public Staff(Long id){
        staffPositions = new HashSet<StaffPosition>(0);
        this.id = id;
    }

    public Staff(Long id, Organization organization, Person person, Integer orderNo, Short status, Set<StaffPosition> staffPositions){
        this.staffPositions = new HashSet<StaffPosition>(0);
        this.id = id;
        this.organization = organization;
        this.person = person;
        this.orderNo = orderNo;
        this.status = status;
        this.staffPositions = staffPositions;
    }

    public Long getId(){
        return id;
    }

    public void setId(Long id){
        this.id = id;
    }

    public Organization getOrganization(){
        return organization;
    }

    public void setOrganization(Organization organization){
        this.organization = organization;
    }

    public Person getPerson(){
        return person;
    }

    public void setPerson(Person person){
        this.person = person;
    }

    public Integer getOrderNo(){
        return orderNo;
    }

    public void setOrderNo(Integer orderNo){
        this.orderNo = orderNo;
    }

    public Short getStatus(){
        return status;
    }

    public void setStatus(Short status){
        this.status = status;
    }

    public Set<StaffPosition> getStaffPositions(){
        return staffPositions;
    }

    public void setStaffPositions(Set<StaffPosition> staffPositions){
        this.staffPositions = staffPositions;
    }
}